﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SMTC.Model.Domain
{
    public class ForcastTeepDomaincs
    {
        public string BUName { set; get; }

        public int year { set; get; }

        public int Month { set; get; }

        public double plan { set; get; }

        public double capacity { set; get; }

        public string ForCastTeep
        {
            get
            {
                double result = Math.Round((this.plan / double.Parse(this.capacity.ToString()) * 100), 2);
                return result.ToString() + "%";
            }
        }
    }
}
